home *** CD-ROM | disk | FTP | other *** search
/ Iron Maiden - Maiden Hell! / Iron Maiden - Maiden Hell! Promotional CD-ROM.iso / mac / promo.dxr / scripts_50_go frame (tour) = .ls < prev    next >
Encoding:
Text File  |  1998-09-16  |  403 b   |  15 lines

  1. on exitFrame
  2.   global gTourPictureNumber
  3.   if the timer > 420 then
  4.     if gTourPictureNumber < 10 then
  5.       set gTourPictureNumber to gTourPictureNumber + 1
  6.     else
  7.       set gTourPictureNumber to 1
  8.     end if
  9.     set the member of sprite 7 to "tour" & string(gTourPictureNumber)
  10.     set the loc of sprite 20 to the loc of sprite (8 + gTourPictureNumber)
  11.     startTimer()
  12.   end if
  13.   go(the frame)
  14. end
  15.